package com.service.impl;

import com.dao.VariesCountMapper;
import com.model.VariesCount;
import com.service.VariesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VariesServiceImpl implements VariesService {
    @Autowired
    VariesCountMapper variesCountMapper;
    //统计当前和历史借阅记录中的每种图书的数量
    @Override
    public List<VariesCount> queryVariesCount() {
        List<VariesCount> list=variesCountMapper.queryVariesCount();
        System.err.println("实现层list = " + list);
        return list;
    }


}
